package com.sdhs.paas.gateway.model;

import java.beans.ConstructorProperties;

import com.sdhs.paas.gateway.constant.AmeConstant;

public class AmeMenuPolicy
{
  String name;
  AmeConstant.MenuTypeEnum MenuType;
  String resource;
  String action;
  String desc;

  public void setName(String name)
  {
    this.name = name; } 
  public void setMenuType(AmeConstant.MenuTypeEnum MenuType) { this.MenuType = MenuType; } 
  public void setResource(String resource) { this.resource = resource; } 
  public void setAction(String action) { this.action = action; } 
  public void setDesc(String desc) { this.desc = desc; }


  public String getName()
  {
    return this.name;
  }

  public AmeConstant.MenuTypeEnum getMenuType()
  {
    return this.MenuType;
  }

  public String getResource()
  {
    return this.resource;
  }

  public String getAction()
  {
    return this.action;
  }

  public String getDesc()
  {
    return this.desc;
  }

  @ConstructorProperties({"name", "MenuType", "resource", "action", "desc"})
  public AmeMenuPolicy(String name, AmeConstant.MenuTypeEnum MenuType, String resource, String action, String desc)
  {
    this.name = name; this.MenuType = MenuType; this.resource = resource; this.action = action; this.desc = desc;
  }
}
